﻿@using JT.WEB.Models.Were
@model JT.WEB.Models.Were.TbChuRuInfo
@{
    ViewData["Title"] = "出入信息-删除";
}

<h3>你确定要删除这个吗?</h3>
<div>

    <hr />
    <dl class="dl-horizontal">
        <dt>
            @Html.DisplayNameFor(model => model.Count)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.Count)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.ChangeDate)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.ChangeDate)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.IsRuKu)
        </dt>
        <dd>
            @if (Model.IsRuKu == IsRuKu.inStock)
            {
                <span class="badge badge-pill badge-success">@Html.DisplayFor(model => model.IsRuKu)</span>
            }
            else
            {
                <span class="badge badge-pill badge-danger">@Html.DisplayFor(model => model.IsRuKu)</span>
            }
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.ItemNameNavigation.ItemName)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.ItemNameNavigation.ItemName)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.Recorder)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.Recorder)
        </dd>
    </dl>

    <form asp-action="Delete">
        <input type="hidden" asp-route-id="@Model.ChuRuId" />
        <input type="submit" value="删除" class="btn btn-outline-success" /> |
    </form>
    <a asp-action="Index">返表列表</a>
</div>


